package com.atguigu.member.service;

import com.atguigu.member.vo.MemberLoginVo;
import com.atguigu.member.vo.MemberRegisterVo;
import com.atguigu.common.vo.SocialUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author polarisink
 * @email polarisink@163.com
 * @date 2020-12-18 15:17:42
 */
public interface MemberService extends IService<MemberEntity> {

  PageUtils queryPage(Map<String, Object> params);

  void register(MemberRegisterVo registerVo);

  MemberEntity login(MemberLoginVo loginVo);

  MemberEntity login(SocialUser socialUser);
}

